#ifndef __LTLLib_MFC_H__
#define __LTLLib_MFC_H__

//#define WINVER		0x0500
//#define _WIN32_WINNT	0x0500
//#define _WIN32_IE		0x0500

//CAppModule			_Module;
//CTraceHelper		ETL_TraceHelper::_TraceHelper;
//CLangHelper			ETL_LangHelper::_LangHelper;
//CTipTraceHelper		_TipTraceHelper;


WINCOMMCTRLAPI HIMAGELIST WINAPI ImageList_Read(LPSTREAM pstm);
WINCOMMCTRLAPI BOOL       WINAPI ImageList_Write(HIMAGELIST himl, LPSTREAM pstm);

//#define STDMETHOD(method)       HRESULT (STDMETHODCALLTYPE * method)

#define CPaintDC	ATLPaintDC
#define CRect		ATLRect
#define CDC			ATLDC
#define CPoint		ATLPoint
#define CBitmap		ATLBitmap
#define CString		ATLString
#define CFont		ATLFont
#define CSize		ATLSize
#define CBrush		ATLBrush
#define CImageList	ATLImageList
#define CEdit		ATLEdit
#define CComboBox	ATLComboBox
#define CScrollBar	ATLScrollBar
#include <atlbase.h>
#include <atlapp.h>

extern CAppModule _Module;

#include <atlwin.h>
#include <atlctrls.h>
#include <atlcrack.h>
#include <atlmisc.h>

#define USER_NAME _T("SYZ")

#include "ETL.h"
#include "ETLTrace.h"
#include "ETLFile.h"

#include "wMsg.h"
#include "wMisc.h"
#include "wWave.h"
#include "wUIKit.h"
#include "wWindow.h"
#include "wTipTrace.h"
#include "wLangHelper.h"
#include "wDCHelper.h"

#undef CPaintDC
#undef CRect
#undef CDC
#undef CPoint
#undef CBitmap
#undef CString
#undef CFont
#undef CSize
#undef CBrush
#undef CImageList
#undef CEdit
#undef CComboBox
#undef CScrollBar

#endif //__LTLLib_MFC_H__